<%-- Created by IntelliJ IDEA. --%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <title></title>
  </head>
  <body>
  <table align="center" border="1">
    <tr align="center">
      <td width="120px">预定编号</td>
      <td width="120px">会议室</td>
      <td width="120px">预定人</td>
      <td width="120px">日期</td>
<c:forEach var="meeting" items="${requestScope.meetingRoomList}">
    <tr align="center" >
      <td width="120px" id="stu">${meeting.id}</td>
      <td width="120px">${meeting.meeting_name}</td>
      <td width="120px">${meeting.advance_name}</td>
      <td width="200px">${meeting.meeting_order}</td>
    </tr>
    </c:forEach>
  </table>
  <a href="index2.jsp" style="margin-left: 969px">预定会议室</a>
  <script src="js/jquery-3.3.1.js" type="text/javascript"></script>
  <script>
    $(document).ready(function () {
      $("table tr:even").css("background","blue")
      $("table tr:eq(0)").css("background","#c2c2c2");
    })
  </script>
  </body>
</html>